//
//  DrawListModel.m
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/11/16.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "DrawListModel.h"

@implementation DrawListModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.ID = [dict[@"id"] integerValue];
        self.name = dict[@"name"];
        self.typeName = dict[@"typeName"];
        self.userId = [dict[@"userId"] integerValue];
        self.withdrawNumber = dict[@"withdrawNumber"];
        self.withdrawPhone = dict[@"withdrawPhone"];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[DrawListModel alloc]initWithDict:dict];
}

@end
